package com.kuaidu.ll.quickreadnews.view.activity;

import android.os.Handler;
import android.widget.ImageView;

import com.kuaidu.ll.quickreadnews.R;
import com.kuaidu.ll.quickreadnews.base.BaseActivity;

public class EntryActivity extends BaseActivity {

    private ImageView mImageView;

    @Override
    protected void initView() {
        mImageView = (ImageView) findViewById(R.id.iv_icon);
        new Handler().postDelayed(
                new Runnable() {
                    @Override
                    public void run() {
                        startActivity(MainActivity.class);
                        finish();
                    }
                },1000
        );
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_entry;
    }
}
